Skip to content

fix: handle pytest.exit in remote worker to prevent internal error#1342

Open
decembercomposer697-hue wants to merge 1 commit into
pytest-dev:masterfrom
decembercomposer697-hue:fix/pytest-exit-handling
Open

fix: handle pytest.exit in remote worker to prevent internal error#1342
decembercomposer697-hue wants to merge 1 commit into
pytest-dev:masterfrom
decembercomposer697-hue:fix/pytest-exit-handling

Conversation

@decembercomposer697-hue

Copy link
Copy Markdown

Fixes #1239: pytest.exit() during remote execution was uncaught.

When pytest.exit() is called during remote execution, it was
uncaught and caused an internal error. Now catches pytest.exit.Exit
and forwards the return code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pytest.exit causes internal error

1 participant